package com.wondertek.service.sdk.iotdh.dto.res.alarmBell;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class OverTemperatureAlarm {
    @Schema(name = "enable",description = "false: Disable;true: Enable. 启⽤状态.")
    private boolean enable;

    @Schema(name = "upperLimit",description = "超温报警上限：+55.0°C。")
    private double upperLimit;

    @Schema(name = "lowerLimit",description = "超温报警下限：-10.0°C。")
    private double lowerLimit;

    @NotBlank
    @Schema(name = "id",description = "配件id")
    private String id;

    @Schema(name = "state",description = "配件的状态。0：所有功能均已启⽤；1：防篡改功能已禁⽤；2：所有功能均已禁⽤ 配件状态")
    private Integer state;

    @Schema(name = "alarmDuring",description = "默认120秒。单位：秒 报警持续时间.")
    private Integer alarmDuring;

}
